package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.core.domain.dto.BasePageEntityDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 供应商商品大厅查询入参
 * @author zixin
 */
@Data
public class MallSupplierGoodsDTO extends BasePageEntityDTO {

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品分类")
    private Long categoryId;

    @ApiModelProperty("开始创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startCreateTime;

    @ApiModelProperty("结束创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endCreateTime;

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty("商品状态,0|下架,1|上架")
    private Integer status;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private Long userId;

    @ApiModelProperty(value = "审核状态", hidden = true)
    private Integer auditStatus;

    private String sortStr;
    private String sortDesc;

}
